package com.prj.ufdm.demo.tutorial.despatterns.creational.factory.factorymethod;
/**
  * 静态工厂方法
 * @author Administrator
 *
 */
public class StaticFactory {
	
	public static Sender produceMail(){  
        return new SenderOfMail();  
    }  
      
    public static Sender produceSms(){  
        return new SenderOfSMS();  
    }  
    
}
